-
Home
-
MyParcel
-
4.16.1
-
Code
-
Classes
- WebhookSubscriptionService
| Total Complexity |
31 |
| Dependencies |
13 |
| Dependents |
5 |
| Total lines |
336 |
| Lines of code |
146 |
| Logical lines of code |
68 |
| Comment lines |
114 |
| Methods |
18 |
| Properties |
1 |
Methods 18
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| subscribeToWebhooks() |
S |
60 |
3 |
13 |
| delete() |
S |
61 |
3 |
12 |
| createCallbackUrl() |
S |
58 |
2 |
15 |
| createWebhook() |
S |
60 |
2 |
15 |
| hasValidSubscription() |
S |
64 |
3 |
10 |
| shouldRegisterOrderStatusRoute() |
S |
64 |
3 |
10 |
| register() |
S |
68 |
2 |
7 |
| getExistingWebhook() |
S |
69 |
2 |
7 |
| loadSubscriptions() |
S |
68 |
2 |
7 |
| registerRestRoute() |
S |
61 |
1 |
13 |
| saveSubscription() |
S |
61 |
1 |
12 |
| __construct() |
S |
80 |
1 |
3 |
| deleteAll() |
S |
80 |
1 |
3 |
| findByHook() |
S |
79 |
1 |
3 |
| getSubscriptions() |
S |
82 |
1 |
3 |
| generateHash() |
S |
78 |
1 |
3 |
| getBaseCallbackPath() |
S |
70 |
1 |
7 |
| getFullRestUrl() |
S |
78 |
1 |
3 |